(function (g) {
  function YD(ele) {
    return new init(ele);
  }
  function init(ele) {
    this.e = document.querySelectorAll(ele);
  }
  init.prototype = {
    constructor:init(),
    css:function (n,v) {
      for(let i = 0;i < this.e.length;i++){
        this.e[i].style[n] = v;
      }
    }
  };

  g.YD = g.$ = YD;
})(window);
